<template>
  <div class="about-container">
    <h1>关于</h1>
    <router-link to="/about/tab1">子路由1</router-link>&nbsp;
    <router-link to="/about/tab2">子路由2</router-link>
    <!-- 占位符，使用前需安装和配置 vue-router -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'About'
}
</script>

<style lang="less">
.about-container {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  color: #2c3e50;
  background-color: pink;
  padding-top: 5px;
  padding-bottom: 30px;
}
</style>
